package com.example.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author zql
 * @since 2023-11-05
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "tb_soft")
public class SoftBackup implements Serializable {

    @Id(keyType = KeyType.Auto) // mybatis-plus 是：@TableId(value="id", type=IdType.AUTO) // 不加不输入id查询会报错
    private Long id;

    private String softName;

    private String softVersion;

    private String gitUrl;

    private String officialUrl;

    private String mainLanguage;

    private String languages;

    private Integer star;

    private String uuid;

    private String softId;

    private String createdAt;

    private String updatedAt;

}
